public class ProductDetails
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ProductDetails.OneTimePurchaseOfferDetails
Represents the offer details to buy a purchase product.
|
| Constructor and Description |
|---|
ProductDetails(java.lang.String productDetailsJsonString) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getDescription()
Returns the description of the product.
|
java.lang.String |
getName()
Returns the name of the product being sold.
|
ProductDetails.OneTimePurchaseOfferDetails |
getOneTimePurchaseOfferDetails()
Returns the offer details of a purchase product.
|
java.lang.String |
getProductId()
Returns the product's Id.
|
java.lang.String |
getProductType()
Returns the
BillingClient.ProductType of the product. |
java.lang.String |
getTitle()
Returns the title of the product being sold.
|
int |
hashCode() |
java.lang.String |
toString() |
public ProductDetails(java.lang.String productDetailsJsonString)
throws org.json.JSONException
org.json.JSONExceptionpublic java.lang.String getProductId()
public java.lang.String getProductType()
BillingClient.ProductType of the product.public java.lang.String getTitle()
public java.lang.String getName()
public java.lang.String getDescription()
public ProductDetails.OneTimePurchaseOfferDetails getOneTimePurchaseOfferDetails()
public final boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.String toString()
toString in class java.lang.Object